<template>
	<view class="card">
		<!-- <view class="card_tetle">
			<text class="tip_title">房屋配置</text>
			<view class="tip_icon" @click="handleClick(1)">
				<text>更多设施</text>
				<image src="/pagesA/static/details/youjiantou.svg" mode="" class="more_icon"></image>
			</view>
		</view> -->
		<themeTitleVue title="房屋配置" tip="更多设施" @jump='jumpHandle'></themeTitleVue>
		<view class="tools_box">
			<view class="tools" v-for="(item ,index) in list" :key="index">
				<image :src="item.icon" mode=""></image>
				<text>{{item.valueName}}</text>
			</view>
		</view>
	</view>
</template>

<script setup>
	import themeTitleVue from './themeTitle.vue';
	const porps = defineProps({
		
		list:{type:Array,default:()=>[]},
	})
	const emit = defineEmits(['jump']);
	const jumpHandle = ()=>{
		emit('jump',1)
		console.log('hahahh-------','触发了');
	}
</script>

<style lang="less" scoped>
	
	.card {
		margin-top: 16rpx;
		background: #ffffff;
		padding: 30rpx;
	
		.tools_box {
			margin-top: 24rpx;
			display: flex;
			flex-wrap: wrap;
	
			.tools {
				margin-top: 32rpx;
				width: 50%;
				display: flex;
				align-items: center;
	
				image {
					width: 40rpx;
					height: 40rpx;
					margin-right: 30rpx;
				}
	
				text {
					font-family: PingFangSC-Regular;
					font-size: 26rpx;
					color: #000000;
					text-align: center;
					line-height: 32rpx;
					font-weight: 400;
				}
			}
		}
	
	}
</style>